<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="jdk.pojo.*" import="java.util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
     List<Articales> artLists=(List<Articales>)session.getAttribute("allBlogLists");
     session.removeAttribute("allBlogLists");
     out.print("<a href=\"EditBlogAction.jdk?bIndexShowCon=editBlog&QnewBlog=showNu\">发表新博客</a>");
     for(Articales a:artLists){
    	 
    	 out.print("<br/>");
    	 out.print("标题："+"<a href=\"ViewBlogAction.jdk?QbIndexShowCon=oneBlog&QblogID="+a.getId()+"\">"+a.getTitle()+"</a>| 发表时间："+
    			 a.getIns_dt()+"|<a href=\"DelBlogAction.jdk?QbIndexShowCon=allBlog"+"&QblogID="+a.getId()+"\">删除</a>");
    	 out.print("<br/>");
    	 out.println(a.getContent().substring(0,5));
    	 out.println("<hr/>");
     }
%>

</body>
</html>